package com.mail.anteater.bean;

import java.util.ArrayList;

import com.mail.anteater.hibernate.mapping.Inbox;
import com.mail.anteater.hibernate.mapping.Outbox;

public class MailResponse {

	private ArrayList<Inbox> inbox;
	private ArrayList<Outbox> outbox;
	private boolean status;
	
	public ArrayList<Inbox> getInbox() {
		return inbox;
	}
	public void setInbox(ArrayList<Inbox> inbox) {
		this.inbox = inbox;
	}
	public ArrayList<Outbox> getOutbox() {
		return outbox;
	}
	public void setOutbox(ArrayList<Outbox> outbox) {
		this.outbox = outbox;
	}
	public boolean isStatus() {
		return status;
	}
	public void setStatus(boolean status) {
		this.status = status;
	}
	@Override
	public String toString() {
		return "MailResponse [inbox=" + (inbox == null ? "null" : inbox.toString()) + ", outbox=" + (outbox == null ? "null" : outbox.toString())+ ", status=" + status + "]";
	}
}
